package com.daiyang.campus_lucky_draw.service;

import com.daiyang.campus_lucky_draw.common.enums.UserIdentityEnum;
import com.daiyang.campus_lucky_draw.contreller.param.UserLoginParam;
import com.daiyang.campus_lucky_draw.contreller.param.UserPasswordLoginParam;
import com.daiyang.campus_lucky_draw.contreller.param.UserRegisterParam;
import com.daiyang.campus_lucky_draw.service.dto.UserDTO;
import com.daiyang.campus_lucky_draw.service.dto.UserLoginDTO;
import com.daiyang.campus_lucky_draw.service.dto.UserRegisterDTO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface UserService {

    UserRegisterDTO register(UserRegisterParam param);

    UserLoginDTO login(UserLoginParam param);

    List<UserDTO> findUserList(UserIdentityEnum identity);
}
